package com.imooc.service;

import com.imooc.dto.OrderDto;

/**
 * 功能描述: <br>
 * (校验订单service)
 *
 * @Author:Mr. xyb
 * @Date: 2018/5/18 17:09
 * @since: 1.8.0
 * @version: 1.0.0
 */
public interface BuyerService {


    /**
     * 查询一个订单
     *
     * @param openid
     * @param orderId
     * @return
     */
    OrderDto findOrderOne(String openid, String orderId);

    /**
     * 取消一个订单
     *
     * @param openid
     * @param orderId
     * @return
     */
    OrderDto cancelOrder(String openid, String orderId);

}
